import request from '../config/request.js';
import host from '../config/host';

const getMessageList = function(params, callback) {
  request.postData(
    host.pcHostUrl + "/wx/stationMessage/getMessageList",
    params,
    callback
  );
};

const getDetail = function(id, callback) {
  request.getData(
    host.pcHostUrl + "/wx/stationMessage/detail/" + id,
    callback
  );
};



export default {
  getMessageList,
  getDetail
}
